enum ConnectType {
  TYPE_USB(0),
  TYPE_BLE(1),
  TYPE_NET(2);
  const ConnectType(this.value);

  final int value;
}

enum DeviceType {
  DEVICE_XPRINTER(0),
  DEVICE_GPRINTER(1);

  const DeviceType(this.value);
  final int value;
}